* {
  padding: 0;
  margin: 0;
}

body {
  background: linear-gradient(45deg, #b59afe, #f5bdfd) fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.container {
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  width: 80%;
  background-color: white;
  display: flex;
}

.container .left_img {
  flex: 2 0 0;
  overflow: hidden;
}

.panel {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.switch span {
  color: #ccc;
  font-size: 1.4rem;
  cursor: pointer;
}

.switch span.active {
  color: #b59afe;
}

.login .input#email,
.login .input#repeat {
  height: 0;
  margin: 0;
  opacity: 0;
}

form {
  margin: 0 0 0;
  width: 12rem;
}

form span {
  display: block;
  font-size: .8rem;
  margin-bottom: 1rem;
  cursor: pointer;
}

form button {
  width: 100%;
  outline: none;
  border: none;
  font-size: 1.2rem;
  padding: 5px;
  border-radius: 30px;
  background-color: #b59afe;
  color: white;
  cursor: pointer;
}

.input {
  margin: 2rem 0;
  position: relative;
  transition: .6s;
  opacity: 1;
}

.input input {
  border: none;
  border-bottom: 0.1rem solid #b59afe;
  outline: none;
  width: 100%;
}

.input::after {
  content: attr(placeholder);
  position: absolute;
  left: 0;
  top: -20%;
  font-size: 1.3rem;
  color: #b59afe;
  transition: .3s;
}

.input.focus::after {
  top: -70%;
  font-size: 1rem;
}

@media (max-width: 900px) {
  .container {
    flex-direction: column;
  }
  .container .left_img {
    flex-basis: 200px;
  }
  .container .panel {
    padding: 2rem;
  }
}
